package com.xunyin.modules.log.service;

import com.xunyin.common.service.BaseService;
import com.xunyin.modules.log.domain.TCleaningRecord;
import com.xunyin.modules.log.service.dto.TCleaningRecordQueryCriteria;
import com.xunyin.pagination.PaginationRequest;
import com.xunyin.pagination.PaginationResponse;
import org.springframework.data.domain.Pageable;

import java.util.List;
import java.util.Map;

/**
 * 保洁业务接口
 * <p>
 * Created by xunyin
 * CopyRight 讯音云商 https://www.tonetn.com
 */
public interface TCleaningRecordService extends BaseService<TCleaningRecord> {


    List<TCleaningRecord> queryCleaningRecordList(TCleaningRecord tCleaningRecord);

    /**
     * 查询数据分页
     *
     * @param criteria 条件
     * @param pageable 分页参数
     * @return Map<String, Object>
     */
    Map<String, Object> queryAll(TCleaningRecordQueryCriteria criteria, Pageable pageable);

    /**
     * 查询所有数据不分页
     *
     * @param criteria 条件参数
     * @return List<TDevice>
     */
    List<TCleaningRecord> queryAll(TCleaningRecordQueryCriteria criteria);

    /**
     * 分页查询余额列表
     *
     * @param paginationRequest
     * @return
     */
    PaginationResponse<TCleaningRecord> queryCleaningRecordListByPagination(PaginationRequest paginationRequest);

}
